package groupb6.shopsystem.pojo.res;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class ShoppingBagRes {
    @ApiModelProperty("商品id")
    private Integer id;
    @ApiModelProperty("商品名称")
    private String name;
    @ApiModelProperty("图片 URL链接")
    private String imagePath;
    @ApiModelProperty("商品价格")
    private Float price;
    @ApiModelProperty("商品类别")
    private String type;
    @ApiModelProperty("已售")
    private Integer sold;
    @ApiModelProperty("库存")
    private Integer stock;
    @ApiModelProperty("商品详情")
    private String detail;
    @ApiModelProperty("卖家id")
    private Integer sellerId;
    @ApiModelProperty("是否下架")
    private Integer status;
    @ApiModelProperty("加入购物车数量")
    private Integer number;
}
